package com.csun.dsms.utils;

import com.alibaba.fastjson.JSONObject;
import java.util.Date;
public class SmsSample {

    public static void main(String[] args_){
        SmsUtils smsUtils = new SmsUtils();
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("phone","18827507880");
        jsonObject.put("no","40248663");
        jsonObject.put("content","Pm2.5浓度超上线");
        jsonObject.put("location","金秋实一楼门口");
        jsonObject.put("time","2023/6/19 15:15");
        smsUtils.sendMsg("18827507880",jsonObject.toJSONString());
    }
}
